home *** CD-ROM | disk | FTP | other *** search
- ----------
- X-Sun-Data-Type: text
- X-Sun-Data-Description: text
- X-Sun-Data-Name: text
- X-Sun-Content-Lines: 23
-
- Hi,
-
- I've written a simple screen-grab piece of code, which slots in, and saves a
- .TGA (type 2) whenever you press the * on the numeric keypad. This should make
- it a lot easier to grab pictures for the WWW page etc.
-
- Every time you press it, you get another file (GRAB_000.TGA, GRAB_001.TGA...).
- However, it will over-write it if the file already exists, so rename the
- files after each grabbing session...
-
- For some reason, it seems to save more than the screen (I'd assumed that the
- screen would be screenwidth x scanlines, but this doesn't seem to be true),
- so you may have to clip the images...
-
- At the bottom of this mail is hopefully the modified version of Laurent`s
- code (macros.s for the file write macros, doom.s for the keyboard equate/include
- scrngrab.s, dview_io.s for the testing of keyboard, and scrngrab.s contains
- the actual code), as well as an assembled version (which does NOT load the
- sample that is not found in Doom 1 shareware).
-
- Anyone is free to improve it etc. (Its rather slow, but who cares...)
-
- Anthony
- ----------
- end
-
-